package com.eightbears.beboy.ui.user.activity;

import android.os.Bundle;
import android.widget.TextView;

import com.eightbears.beboy.R;
import com.eightbears.beboy.base.BaseActivity;

import org.greenrobot.eventbus.EventBus;

import butterknife.BindView;
import butterknife.ButterKnife;
import butterknife.OnClick;

import static com.eightbears.beboy.ui.user.activity.DrawMoneyActivity.EVENT_DRAW_MONEY;

public class DrawMoneySuccessActivity extends BaseActivity {

    @BindView(R.id.tv_title)
    TextView tv_title;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_draw_money_success);
        initView();
        initData();
        initEvent();

    }

    @Override
    protected void initView() {
        ButterKnife.bind(this);
        tv_title.setText("提现成功");
    }

    @Override
    protected void initData() {

    }

    @Override
    protected void initEvent() {

    }

    @OnClick(R.id.tv_ok)
    void tv_ok() {
        finish();
    }

    @OnClick(R.id.ll_back)
    void ll_back() {
        finish();
    }

    @Override
    public void finish() {
        super.finish();
        EventBus.getDefault().post(EVENT_DRAW_MONEY);
    }
}
